mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 14:49:40 +00:00
Up-to-date on Windows
git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@74 ea6a568a-9f4f-0410-981a-c910a81bb256
This commit is contained in:
parent
6a7401e133
commit
5f2078b3f8
2 changed files with 3 additions and 3 deletions
|
@ -8,4 +8,4 @@ g++ -c ogre\cpp_ogre.cpp -I.\includes\ogre\
|
|||
g++ -c bullet\cpp_bullet.cpp -I.\includes\bullet\
|
||||
|
||||
echo Compiling main program (openmw.exe)
|
||||
gdc -Wall -g openmw.d bsa\*.d core\*.d esm\*.d input\*.d nif\*.d ogre\*.d scene\*.d sound\*.d util\*.d bullet\*.d cpp_ogre.o cpp_avcodec.o cpp_bullet.o libbulletdynamics.a libbulletcollision.a libbulletmath.a mscripts\object.d monster\compiler\*.d monster\vm\*.d monster\util\*.d avcodec-51.dll avformat-52.dll avdevice-52.dll avutil-49.dll openal32.dll ogremain_d.dll OIS_d.dll -lstdc++ -o openmw.exe
|
||||
gdc -g openmw.d bsa\*.d core\*.d esm\*.d input\*.d nif\*.d ogre\*.d scene\*.d sound\*.d util\*.d bullet\*.d cpp_ogre.o cpp_avcodec.o cpp_bullet.o libbulletdynamics.a libbulletcollision.a libbulletmath.a mscripts\object.d monster\monster.d monster\compiler\*.d monster\vm\*.d monster\util\*.d avcodec-51.dll avformat-52.dll avdevice-52.dll avutil-49.dll openal32.dll ogremain_d.dll OIS_d.dll -lstdc++ -o openmw.exe
|
||||
|
|
|
@ -85,13 +85,13 @@ class IdleSleep : IdleFunction
|
|||
bool initiate(MonsterObject *mo)
|
||||
{
|
||||
// Get the parameter
|
||||
double secs = stack.popFloat;
|
||||
float secs = stack.popFloat;
|
||||
|
||||
// Get current time
|
||||
long newTime = getUTCtime();
|
||||
|
||||
// Calculate when we should return
|
||||
newTime += secs*TicksPerSecond;
|
||||
newTime += cast(long)secs*TicksPerSecond;
|
||||
|
||||
// Store it
|
||||
if(mo.extra == null) mo.extra = new long;
|
||||
|
|
Loading…
Reference in a new issue