NSIO: Give it an empty ParentUpdate() to work around StartFrame() calling a null function on them.
This commit is contained in:
parent
37ab385bcf
commit
57b19425c1
2 changed files with 13 additions and 4 deletions
|
@ -99,6 +99,9 @@ public:
|
||||||
Input is the identifier of an output. */
|
Input is the identifier of an output. */
|
||||||
nonvirtual bool CheckOutput(string);
|
nonvirtual bool CheckOutput(string);
|
||||||
|
|
||||||
|
/** Called when we need to re-align the entity to our parent entity. */
|
||||||
|
virtual void ParentUpdate(void);
|
||||||
|
|
||||||
/* save game related methods */
|
/* save game related methods */
|
||||||
/** Saves a floating point key/value pair to a filehandle. */
|
/** Saves a floating point key/value pair to a filehandle. */
|
||||||
nonvirtual void SaveFloat(float,string,float);
|
nonvirtual void SaveFloat(float,string,float);
|
||||||
|
|
|
@ -252,11 +252,11 @@ NSIO::Input(entity eAct, string strInput, string strData)
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (strData != "") {
|
if (strData != "") {
|
||||||
EntWarning("Receives unknown input %S from %d with data %S",
|
EntWarning("Receives unknown input %S from %s (%d) with data %S",
|
||||||
strInput, num_for_edict(eAct), strData);
|
strInput, eAct.classname, num_for_edict(eAct), strData);
|
||||||
} else {
|
} else {
|
||||||
EntWarning("Receives unknown input %S from %d",
|
EntWarning("Receives unknown input %S from %s (%d)",
|
||||||
strInput, num_for_edict(eAct));
|
strInput, eAct.classname, num_for_edict(eAct));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -705,6 +705,12 @@ void
|
||||||
NSIO::TransitionComplete( void ) {
|
NSIO::TransitionComplete( void ) {
|
||||||
/* this is where we can handle anything post-loading */
|
/* this is where we can handle anything post-loading */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
NSIO::ParentUpdate(void)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue