mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-02-18 09:51:50 +00:00
fixed msvc warnings with #pragma warning(disable:4701)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1891 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
a5c48434df
commit
ed4dbcb903
1 changed files with 132 additions and 128 deletions
|
@ -686,6 +686,8 @@ int sizeofcoord=2;
|
|||
int sizeofangle=1;
|
||||
float MSG_FromCoord(coorddata c, int bytes)
|
||||
{
|
||||
#pragma warning(disable:4701)
|
||||
|
||||
switch(bytes)
|
||||
{
|
||||
case 2: //encode 1/8th precision, giving -4096 to 4096 map sizes
|
||||
|
@ -1143,6 +1145,8 @@ char *MSG_ReadStringLine (void)
|
|||
|
||||
float MSG_ReadCoord (void)
|
||||
{
|
||||
#pragma warning(disable:4701)
|
||||
|
||||
coorddata c;
|
||||
MSG_ReadData(&c, sizeofcoord);
|
||||
return MSG_FromCoord(c, sizeofcoord);
|
||||
|
|
Loading…
Reference in a new issue