Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion neo/Prey/game_anim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ bool hhAnim::CallFrameCommandsExtra( const frameCommand_t &command, idEntity *en
switch( command.type ) {
case FC_EVENT_ARGS: {
if ( command.function && command.parmList && command.function->eventdef ) {
ent->ProcessEvent( command.function->eventdef, (int)(intptr_t)command.parmList );
ent->ProcessEvent( command.function->eventdef, (intptr_t)command.parmList );
}
return( true );
}
Expand Down
2 changes: 1 addition & 1 deletion neo/game/gamesys/Class.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class idEventArg {
idEventArg( const char *data ) { type = D_EVENT_STRING; value = reinterpret_cast<intptr_t>( data ); };
idEventArg( const class idEntity *data ) { type = D_EVENT_ENTITY; value = reinterpret_cast<intptr_t>( data ); };
idEventArg( const struct trace_s *data ) { type = D_EVENT_TRACE; value = reinterpret_cast<intptr_t>( data ); };
#if defined(__x86_64__) || defined(_M_X64)
#if defined(__x86_64__) || defined(_M_X64) || defined (__aarch64__) || defined (_M_ARM64)
idEventArg( intptr_t data ) { type = D_EVENT_INTPTR; value = data; };
#endif
};
Expand Down
Loading