mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Fixed the return FID in NPC armor appearance mod.
This commit is contained in:
Binary file not shown.
@@ -118,7 +118,8 @@ procedure adjustfid_handler begin
|
||||
armor := critter_inven_obj(dude_obj, INVEN_TYPE_WORN);
|
||||
fid := check_armor_change(dude_obj, armor, armor != 0);
|
||||
if (fid != -1) then begin
|
||||
set_sfall_return(fid);
|
||||
variable weapAnim := get_sfall_arg bwand 0xF000;
|
||||
set_sfall_return(fid bwand 0xFFFF0FFF bwor weapAnim);
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -6,5 +6,6 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
#include <unordered_map>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <Windows.h>
|
||||
|
||||
Reference in New Issue
Block a user