mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-25 02:00:54 +00:00
Changed: #825 Remove all warning when compiling Ryzom
This commit is contained in:
parent
ebd5b8481b
commit
d7b8ec69e0
3 changed files with 4 additions and 4 deletions
|
@ -70,7 +70,7 @@ UPlayListManager *PlayListManager = NULL;
|
||||||
|
|
||||||
struct Anim
|
struct Anim
|
||||||
{
|
{
|
||||||
char *Name;
|
const char *Name;
|
||||||
bool Loop;
|
bool Loop;
|
||||||
uint Id;
|
uint Id;
|
||||||
UAnimation *Animation;
|
UAnimation *Animation;
|
||||||
|
|
|
@ -211,7 +211,7 @@ SwitchNextGameState:
|
||||||
#ifdef NL_OS_WINDOWS
|
#ifdef NL_OS_WINDOWS
|
||||||
MessageBox(NULL, e.what(), "NeL Exception", MB_OK | MB_ICONSTOP);
|
MessageBox(NULL, e.what(), "NeL Exception", MB_OK | MB_ICONSTOP);
|
||||||
#else
|
#else
|
||||||
printf(e.what());
|
printf("%s\n", e.what());
|
||||||
#endif
|
#endif
|
||||||
return; // exit if driver loading failed
|
return; // exit if driver loading failed
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,10 +27,10 @@ class CCollisionService : public NLNET::IService
|
||||||
protected:
|
protected:
|
||||||
struct CEntity
|
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 OldClientPosition;
|
||||||
NLMISC::CVector NewClientPosition;
|
NLMISC::CVector NewClientPosition;
|
||||||
NLPACS::UMovePrimitive *MovePrimitive; // ServerPösition
|
NLPACS::UMovePrimitive *MovePrimitive; // ServerPosition
|
||||||
float Distance;
|
float Distance;
|
||||||
bool Moving;
|
bool Moving;
|
||||||
bool Retry;
|
bool Retry;
|
||||||
|
|
Loading…
Reference in a new issue