mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 07:36:16 +00:00
merge
This commit is contained in:
commit
977ca59638
3 changed files with 4 additions and 4 deletions
|
@ -70,7 +70,7 @@ UPlayListManager *PlayListManager = NULL;
|
|||
|
||||
struct Anim
|
||||
{
|
||||
char *Name;
|
||||
const char *Name;
|
||||
bool Loop;
|
||||
uint Id;
|
||||
UAnimation *Animation;
|
||||
|
|
|
@ -211,7 +211,7 @@ SwitchNextGameState:
|
|||
#ifdef NL_OS_WINDOWS
|
||||
MessageBox(NULL, e.what(), "NeL Exception", MB_OK | MB_ICONSTOP);
|
||||
#else
|
||||
printf(e.what());
|
||||
printf("%s\n", e.what());
|
||||
#endif
|
||||
return; // exit if driver loading failed
|
||||
}
|
||||
|
|
|
@ -27,10 +27,10 @@ class CCollisionService : public NLNET::IService
|
|||
protected:
|
||||
struct CEntity
|
||||
{
|
||||
CEntity() : NewClientPosition(), OldClientPosition(), MovePrimitive(NULL), Moving(false), Retry(false) { }
|
||||
CEntity() : OldClientPosition(), NewClientPosition(), MovePrimitive(NULL), Distance(0.0f), Moving(false), Retry(false) { }
|
||||
NLMISC::CVector OldClientPosition;
|
||||
NLMISC::CVector NewClientPosition;
|
||||
NLPACS::UMovePrimitive *MovePrimitive; // ServerPösition
|
||||
NLPACS::UMovePrimitive *MovePrimitive; // ServerPosition
|
||||
float Distance;
|
||||
bool Moving;
|
||||
bool Retry;
|
||||
|
|
Loading…
Reference in a new issue