18 lines
240 B
Plaintext
18 lines
240 B
Plaintext
|
#include "gun_include"
|
||
|
#include "nwnx_events"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oItem;
|
||
|
|
||
|
if(ADV_USING_LINUX)
|
||
|
{
|
||
|
oItem = GetEventItem();
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
oItem = GetSpellCastItem();
|
||
|
}
|
||
|
GUN_SwitchWeaponMode(oItem);
|
||
|
}
|