mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- ActionItems Fix: Increased number of action items from 255 (0-254) to 501 (0-500) (by Jazz)
o See file: ActionItems.xml git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5425 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -77,6 +77,7 @@
|
||||
|
||||
#include "LuaInitNPCs.h"
|
||||
#include "Luaglobal.h"
|
||||
#include "Item Statistics.h"
|
||||
|
||||
|
||||
#ifdef JA2UB
|
||||
@@ -3117,7 +3118,7 @@ void PerformItemAction( INT32 sGridNo, OBJECTTYPE * pObj )
|
||||
|
||||
#ifdef LUA_EXPLOSION_CONTROL
|
||||
|
||||
for (UINT32 i = ACTION_ITEM_OPEN_DOOR; i <= ACTION_ITEM_NEW; i++ )
|
||||
for (UINT32 i = ACTION_ITEM_OPEN_DOOR; i < NUM_ACTIONITEMS; /*= ACTION_ITEM_NEW;*/ i++ )
|
||||
{
|
||||
if ( (*pObj)[0]->data.misc.bActionValue == i )
|
||||
LetLuaPerformItemAction( i, sGridNo, 0 );
|
||||
|
||||
Reference in New Issue
Block a user