mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-10 12:41:35 -10:00
64-bit warning fixes...
This commit is contained in:
1 parent
4fa09480c4
commit
20beb2eec1
29 files changed
+131
-127
No files matched your search
+1
-1
@@ -10741,7 +10741,7 @@ ADE_VIRTVAR(DestroyedByWeapon, l_Weapon, "boolean", "Whether weapon was destroye
|
||||
wp->weapon_flags.set(Weapon::Weapon_Flags::Destroyed_by_weapon, b);
|
||||
}
|
||||
|
||||
return ade_set_args(L, "b", (wp->weapon_flags[Weapon::Weapon_Flags::Destroyed_by_weapon]) > 0);
|
||||
return ade_set_args(L, "b", wp->weapon_flags[Weapon::Weapon_Flags::Destroyed_by_weapon]);
|
||||
}
|
||||
|
||||
ADE_VIRTVAR(LifeLeft, l_Weapon, "number", "Weapon life left (in seconds)", "number", "Life left (seconds) or 0 if weapon handle is invalid")
|
||||
|
||||
Reference in new issue
Block a user