redoing some whitespace fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5273 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -416,8 +416,8 @@ void c2sinfo(playerent *d) // send update to the server
|
||||
{
|
||||
packetbuf p(MAXTRANS);
|
||||
|
||||
if(sendmapidenttoserver)
|
||||
{ // new map
|
||||
if(sendmapidenttoserver) // new map
|
||||
{
|
||||
spawnallitems();
|
||||
p.reliable();
|
||||
putint(p, SV_MAPIDENT);
|
||||
|
||||
@@ -589,7 +589,8 @@ bool bad_map() // this function makes a pair with good_map from clients2c
|
||||
|
||||
bool tryrespawn()
|
||||
{
|
||||
if ( m_mp(gamemode) && bad_map() ) {
|
||||
if ( m_mp(gamemode) && bad_map() )
|
||||
{
|
||||
hudoutf("This map is not supported in multiplayer. Read the docs about map quality/dimensions.");
|
||||
}
|
||||
else if(spawnpermission > SP_OK_NUM)
|
||||
|
||||
@@ -394,8 +394,6 @@ vec getradarpos()
|
||||
|
||||
void drawradar(playerent *p, int w, int h)
|
||||
{
|
||||
// vec center = showmap ? vec(ssize/2, ssize/2, 0) : p->o; int res = showmap ? ssize : radarres;
|
||||
// improved center (for maps that don't use all worldspace)
|
||||
int gdim = max(mapdims[4], mapdims[5]);
|
||||
vec center = showmap ? vec(mapdims[0] + mapdims[4]/2, mapdims[1] + mapdims[5]/2, 0) : p->o;
|
||||
int res = showmap ? gdim : radarres;
|
||||
|
||||
Reference in New Issue
Block a user